import axios from '@/libs/api.request'

export const getCashList = ({ id, status, accountName, bankNumber, pageId }) => {
  const data = {
    id,
    status,
    accountName,
    bankNumber,
    pageId
  }
  return axios.request({
    url: 'UserCash/getCashList',
    data,
    method: 'post'
  })
}

export const audit = ({ id, status }) => {
  const data = {
    id,
    status
  }
  return axios.request({
    url: 'UserCash/audit',
    data,
    method: 'post'
  })
}
